/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package config.Models;

import config.ConfigMacros;
import java.util.Map;

/**
 *
 * @author Mrkupi
 */
public class Conf_Fish {
       
    public int food;
    public String title;
    public String resClass;
    
    public Conf_Fish(Map<String,Object> obj)
    {
        food        =   Integer.parseInt(obj.get(ConfigMacros.FISH_FOOD).toString());
        title       =   obj.get(ConfigMacros.FISH_TITLE).toString();
        resClass    =   obj.get(ConfigMacros.RESCLASS).toString();
    }
}
